package com.flyqiu.flow.api.script;

import lombok.Getter;


@Getter
public class VarSerialize {

    private final String varType;
    private final String varData;
    private final boolean next;

    public VarSerialize(String type, String varData) {
        this.varType = type;
        this.varData = varData;
        this.next = false;
    }

    public VarSerialize(String type, String varData, boolean next) {
        this.varType = type;
        this.varData = varData;
        this.next = next;
    }

    @Override
    public String toString() {
        return String.format("varType：%s varData:%s", varType, varData);
    }
}
